package com.example.pojo;

import java.io.Serializable;

public class RolePerm implements Serializable {
    private Integer roleId;

    private Integer permId;

    private static final long serialVersionUID = 1L;

    public RolePerm() {
    }

    public RolePerm(Integer roleId, Integer permId) {
        this.roleId = roleId;
        this.permId = permId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getPermId() {
        return permId;
    }

    public void setPermId(Integer permId) {
        this.permId = permId;
    }

    @Override
    public String toString() {
        return "RolePermKey{" +
                "roleId=" + roleId +
                ", permId=" + permId +
                '}';
    }
}